package com.kitty.game.function;

import com.kitty.game.function.model.FunctionType;

import java.util.HashMap;
import java.util.Map;

public class FunctionDataPool {
    /**通过升级来开启的功能， key:功能编号，功能类型 */
    public static Map<Short, FunctionType> upgradeFunctions = new HashMap<>();

    static {
        for (FunctionType functionType : FunctionType.values()) {
            if (functionType.getOpenLevel() > 0) {
                upgradeFunctions.put(functionType.getFunctionId(), functionType);
            }
        }
    }
}
